<?php

$this->Html->addCrumb('<i class="fa fa-home"></i> ' . Inflector::camelize($this->request->params ['prefix']), '/' . $this->request->params ['prefix'] . '/', array('escape' => false));
$this->Html->addCrumb('Banners Posição', array('prefix' => $this->request->params['prefix'], 'controller' => $this->request->params['controller'], 'plugin' => $this->request->params['plugin'], 'action' => 'index'), array('escape' => false));
$this->Html->addCrumb('Alterar', NULL, array('escape' => false));

$this->Html->setAcoes('<i class="fa fa-plus"></i>' . __('new'), array('action' => 'add'), array('title' => __('new'), 'class' => 'btn btn-info', 'escapeTitle' => false));
$this->Html->setAcoes('<i class="fa fa-search"></i>' . __('List'), array('action' => 'index'), array('title' => __('List'), 'class' => 'btn btn-info', 'escapeTitle' => false));
?>

<?php

echo $this->Form->create('Banners.BannersPosicao', array(
    'inputDefaults' => array(
        'div' => 'form-group',
        'wrapInput' => false,
        'class' => 'form-control'
    )
        )
);
echo '<div class="row" style="margin-bottom: 15px;">';

echo $this->Form->input('BannersPosicao.id', array());
echo $this->Form->input('BannersPosicao.nome', array('div' => array('class' => 'col-xs-4')));
echo $this->Form->input('BannersPosicao.altura_maxima', array('div' => array('class' => 'col-xs-4')));
echo $this->Form->input('BannersPosicao.altura_minima', array('div' => array('class' => 'col-xs-4')));
echo $this->Form->input('BannersPosicao.largura_maxima', array('div' => array('class' => 'col-xs-4')));
echo $this->Form->input('BannersPosicao.largura_minima', array('div' => array('class' => 'col-xs-4')));
echo $this->Form->status('BannersPosicao.status', array('div' => array('class' => 'col-xs-4')));


echo '</div>';
?>
<?php

echo $this->Form->button(__('Salvar'), array('type' => 'submit'));
echo $this->Form->end();
?>